package com.gisocn.onemap.ui.activity;

import android.os.Bundle;
import android.widget.ImageView;
import androidx.fragment.app.FragmentActivity;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.bumptech.glide.Glide;
import com.gisocn.onemap.base.BaseActivity;
import com.gisocn.onemap.base.BasePresenter;
import com.gisocn.onemap.sgzx.R;

/* loaded from: classes2.dex */
public class ImageActivity extends BaseActivity {
    @BindView(R.id.iv_image)
    ImageView ivImage;

    @Override // com.gisocn.onemap.base.BaseActivity
    protected BasePresenter createPresenter() {
        return null;
    }

    /* JADX INFO: Access modifiers changed from: protected */
    @Override // com.gisocn.onemap.base.BaseActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        setContentView(R.layout.activity_image);
        ButterKnife.bind(this);
        if (getIntent().getStringExtra("photoUrl") != null) {
            Glide.with((FragmentActivity) this).load(getIntent().getStringExtra("photoUrl")).into(this.ivImage);
        }
    }

    @OnClick({R.id.tv_back})
    public void onViewClicked() {
        finish();
    }
}
